package com.juzhencms.apps.busi.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.juzhencms.apps.base.common.database.DBTable;


@Service
public class ArticleService extends CommonService{

	

	public Map detailData(Map param) {
		int menuId=Integer.parseInt((param.get("menuId").equals(null)?"":param.get("menuId").toString()));
		Map data=this.getJdbcDao().queryRow("select * from "+DBTable.article+" where menu_id=? and publish=1 limit 0,1", new Object[]{menuId});
		
		
		
		return data;
	}


}
